import page from '@/page/index.vue'
const Routers = [
  {
    path: '/',
    name: 'page',
    component: page,
    redirect: '/Einvoice',
    children: [
      {
        path: 'Einvoice',
        name: 'Einvoice',
        component(resolve) {
          require.ensure(['@/page/e-invoice/Einvoice.vue'],()=>{
            resolve(require('@/page/e-invoice/Einvoice.vue'));
          })
        },
        meta:{title:'智能电子发票报销'}
      },
      {
        path:'ExpenseAccount',
        name:'ExpenseAccount',
        component(resolve) {
          require.ensure(['@/page/ExpenseAccount/ExpenseAccount.vue'],()=>{
            resolve(require('@/page/ExpenseAccount/ExpenseAccount.vue'))
          })
        }
      }
    ]
  }
]
export default Routers;
